package com.xtaller.sdboot.utils.annotation;

import java.lang.annotation.*;

/**
 * @author : Taller
 * @date : 2020/1/13 10:23
 * @Description : 绑定Field 注解定义
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface BindField {
    /***
     * 绑定的Entity类
     * @return
     */
    Class entity();

    /***
     * 绑定字段
     * @return
     */
    String field();

    /***
     * JOIN连接条件
     * @return
     */
    String condition();
}
